package com.rboat.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rboat.common.annotation.Excel;
import com.rboat.common.core.domain.BaseEntity;

/**
 * 试卷类型对象 exam_test_paper_type
 * 
 * @author rboat
 * @date 2019-09-02
 */
public class ExamTestPaperType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 试卷类型名称 */
    @Excel(name = "试卷类型名称")
    private String name;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String comment;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createByUser;

    /** 创建部门 */
    @Excel(name = "创建部门")
    private String createByDept;

    /** 状态（0正常 1:删除） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=:删除")
    private String isDel;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setCreateByUser(String createByUser) 
    {
        this.createByUser = createByUser;
    }

    public String getCreateByUser() 
    {
        return createByUser;
    }
    public void setCreateByDept(String createByDept) 
    {
        this.createByDept = createByDept;
    }

    public String getCreateByDept() 
    {
        return createByDept;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("comment", getComment())
            .append("createByUser", getCreateByUser())
            .append("createByDept", getCreateByDept())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
